package cn.yuanqiao.archive.detail.mapper;/**
 * @author 赵常飞
 * @date 2023/6/28 15:43
 */

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 *
 *@AUTHOR:赵常飞
 *@date 2023/6/28 15:43
 */
public interface DetailMapper {
    List<Map<String, String>> zsfllist(@Param("mdatalisttable") String mdatalisttable, @Param("infotype") Integer infotype, @Param("categoryId") Long categoryId, @Param("catetablename")String catetablename);

    String getfield(@Param("mdatalisttable")String mdatalisttable, @Param("categoryId") Long categoryId, @Param("infotype") Integer infotype, @Param("catetablename") String catetablename);

    Map<String,Object> getdatainfo(@Param("fields")String fields, @Param("tableName") String tableName, @Param("idsql") String idsql);

    String getefilefield(@Param("daid")Long daid, @Param("catetablename") String catetablename, @Param("mdatalisttable") String mdatalisttable, @Param("allftable")String allftable);

    List<Map<String, String>> getshowmap(@Param("daid")Long daid, @Param("catetablename") String catetablename, @Param("mdatalisttable") String mdatalisttable, @Param("allftable") String allftable);

    List<Map<String, Object>> getlistbytreenode(@Param("fields")String fields, @Param("tablename") String tablename, @Param("tiaojian") String tiaojian, @Param("relasql")String relasql, @Param("isDel")String isDel, @Param("orderstr") String orderstr);

    List<Map<String, Object>> getefileinfobydocid(@Param("docId")Long docId, @Param("fields") String fields, @Param("tableName") String tableName);

    List<Map<String, Object>> getmultipleinfo(@Param("fields")String fields, @Param("tableName")String tableName, @Param("idsql") String idsql, @Param("orderstr") String orderstr);
}
